package com.example.duanjunjie.learn;

import com.google.gson.Gson;
import com.google.gson.annotations.JsonAdapter;

/**
 * Created by duanjunjie on 2018/2/11.
 */
@JsonAdapter(UserTypeAdapter.class)
public class User {
    public String name;
    public int age;

    @Override
    public String toString() {
        return "Weather{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
